//
//  CGLodingView.h
//  Onskysell
//
//  Created by cg on 17/5/25.
//  Copyright © 2017年 cg. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CGLodingView : UIView

@property (nonatomic, strong) UIView *bgView;

@property (nonatomic, strong) UIView *statusBarBgView;

@property (nonatomic, strong) UIActivityIndicatorView *indicatro;

@property (nonatomic, strong) UILabel *lodingLabel;

@property (nonatomic, strong) NSMutableArray *loadingArray;

@property (nonatomic, strong) NSTimer *timer;

@property (nonatomic, assign) NSInteger time;

@property (nonatomic, assign) BOOL isFirstLoad;//主要针对进入app首页预加载statusbar不要蒙板
/**
 单例

 @return return CGLodingView
 */
+ (CGLodingView *)shareInstance;

//开始加载
- (void)startAnimation;

//结束加载
- (void)stopAnimation;

@end
